package com.lxx.modules.sys.biz.impl;

import org.springframework.stereotype.Service;

import com.lxx.modules.sys.biz.ILoggingEventBiz;
import com.lxx.common.BaseServiceImpl;
import com.lxx.modules.sys.dao.LoggingEventDao;
import com.lxx.modules.sys.entity.LoggingEvent;

@Service
public class LoggingEventBizImpl extends BaseServiceImpl<LoggingEvent, Long, LoggingEventDao> implements ILoggingEventBiz{

	@Override
	public Long convertId(String idStr) {
		return Long.parseLong(idStr);
	}

	@Override
	public int delete(LoggingEvent t) {
		t.setDelFlag(true);
		return baseMapper.updateByPrimaryKeySelective(t);
	}
}
